package com.wh.book.model;

import lombok.Data;

@Data
public class pageRequest {
    private Integer pageNum;
    private Integer pageSize = 10;

    public Integer getOffset() {
        return (pageNum - 1) * pageSize;
    }

}
